<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
	<script src="js/jquery-3.2.0.min.js" type="text/javascript"></script>
	<script src="js/bootstrap.min.js" type="text/javascript"></script>
	<style type="text/css">
		body{padding:20px;}
		table {border-collapse:separate;border-spacing:10px;} 
		table th {text-align: right;}
		.form-control{width:200px;display:inline-block}
		table tr {display:table-row;margin-top:10px;}
		input[type=radio]{margin-left:10px;}
		textarea{width:300px;height:200px;}
	</style>
	<script type="text/javascript">
		/*
		$(function(){
			var $form = $('form[name=form]');
			$form.on('submit',function(){
				<?php echo $submitScript;?>
				return true;
			});
		});
    	*/	

	</script>
</head>

<body>
	<h1 id="title" style="margin-left:15px"><s:property value="method" /></h1>
	<hr style="box-shadow:0px 0px 5px deepskyblue"/>
	
	<!--
		ntype,ontop,title,title_isblod,title_color,category
	 	,pc_focus_img,wap_focus_img,summary,contents,addtime,hits,url
    -->
    <!--Form S-->
    <s:property value="formTag()" escapeHtml="false"/>
		<table>
			<s:iterator value="mapTag()" var="a">
				<s:if test="#a.getKey() != 'hidden'">
					<tr>
						<th><s:property value="#a.getKey()" />:</th>
						<td><s:property value="#a.getValue()" escapeHtml="false"/></td>
					</tr>
				</s:if>
				<s:else>
					<s:property value="#a.getValue()" escapeHtml="false"/>
				</s:else>
			</s:iterator>
			<tr>
				<th></th>
				<td>
					<input type="submit" class="btn btn-default" value="提交">	
				</td>
			</tr>
		</table>
	</form>
    <!--Form E-->
</body>

</html>